package com.springboot.nucleic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot.nucleic.po.*;

import java.util.*;

/**
 * 用户Service层接口
 * @author: mty
 */
public interface RubbishService extends IService<Rubbish> {

    PageInfo<Rubbish> findPageInfo(Integer pageIndex, Integer pageSize,Map mp);

    int addRubbish(Rubbish rubbish);

    int deleteRubbish(int id);

    int updateResident(Rubbish rubbish);

    Rubbish findResidentById(String id);

    List<Rubbish> getAll();
}
